
function revomeFriend(friendId) {

	if (friendId == '') {
		return false;
	}
	
	var data = {
		"friendListInfo.friendId" :  friendId
	};
	
		$.ajax({
		type: 'POST',
			url : ACCOUNT_REMOVE_FRIEND_URL,
			data: data,
		success : function(data) {
			if (data.errorMessage != '') {
				alert(data.errorMessage);
			} else {
				if (data.successMessage != '') {
					alert(data.successMessage);
					$("#frmFriend").submit();
				}
			}
		}
		});	
}